package com.johnguo.carbondata_demo;

import java.io.IOException;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;

public class DfsDemo {
	public static void main(String... args) throws IOException {
		Configuration conf = new Configuration();
		conf.set("fs.defaultFS", "hdfs://h1:9000");
		FileSystem fs = FileSystem.get(conf);

	}
}
